def func(li,tup):
    new_li = []
    new_tup_list = []
    for i in range(len(li)):
        if i % 2 == 1:
            new_li.append(li[i])
    for j in range(len(tup)):
        if j % 2 == 1:
            new_tup_list.append(tup[j])
    return (new_li,new_tup_list)
res = func([1,2,3,4,5,6,7,8,9,],(1,2,3,4,5,6,7,8,9))
print(res)